<%@ tag language="java" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ attribute name="score" type="java.math.BigDecimal" required="true" rtexprvalue="true" %>
<c:if test="${score < 0.1}"><img alt="0" src="<c:url value='/images/icons/ratings/star-00.png' />" /></c:if>
<c:if test="${score >= 0.1 && 1.0 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-05.png' />" /></c:if>
<c:if test="${score >= 1.0 && 1.4 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-10.png' />" /></c:if>
<c:if test="${score >= 1.4 && 2.0 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-15.png' />" /></c:if>
<c:if test="${score >= 2.0 && 2.4 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-20.png' />" /></c:if>
<c:if test="${score >= 2.4 && 3.0 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-25.png' />" /></c:if>
<c:if test="${score >= 3.0 && 3.4 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-30.png' />" /></c:if>
<c:if test="${score >= 3.4 && 4.0 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-35.png' />" /></c:if>
<c:if test="${score >= 4.0 && 4.4 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-40.png' />" /></c:if>
<c:if test="${score >= 4.4 && 5.0 > score}"><img alt="0" src="<c:url value='/images/icons/ratings/star-45.png' />" /></c:if>
<c:if test="${score >= 5.0}"><img alt="0" src="<c:url value='/images/icons/ratings/star-50.png' />" /></c:if>
